<%@page import="com.qysoft.rapid.utils.RenderHelper"%>
<%@page import="com.qysoft.rapid.consts.RapidConsts"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ page trimDirectiveWhitespaces="true" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=9;IE=10;IE=11; IE=8; IE=7; IE=EDGE"> 
	<%
		String ctx = request.getContextPath();
	    String xtbz =  (String)session.getAttribute("xtbz");
	%>
	<script type="text/javascript">
		var ctx = "<%=ctx%>";
		var xtbz = "<%=xtbz%>";
	</script>
<%=RenderHelper.includedStyle(request, "/static/css/sys_res/css/index.css")%> 
<%=RenderHelper.includedStyle(request, "/static/css/sys_res/css/column.css")%> 
<%=RenderHelper.includedStyle(request, "/static/css/common.css") %>
<c:if test="${empty currentRyxx }">
	<script type="text/javascript">
		alert("登录超时，请重新登录！");
		window.location.href="/pagesNew/common/login.jsp";
	</script>
</c:if>
<title><%=RapidConsts.RAPID_NAME %></title> 
</head>
<body>
<!-- 上方菜单 -->
	<div id="fwd-header">
		<div id="fwd-info">
			<span id="czy">当前用户：</span>
			<span>${currentRyxx.name }&nbsp;|&nbsp;</span>
			<span>所属机构：</span>
			<span>${currentRyxx.orgmc }&nbsp;|&nbsp;</span>
			<span ><a href="javascript:changePwd();" class="aaa">修改密码</a>&nbsp;|&nbsp;</span>
			<span><a href="javascript:exit();" class="aaa">退出</a>&nbsp;</span>
		</div>
	</div>
	<div id="fwd-main">
	<!-- 左侧列表菜单 -->
		<div class="fwd-l">
			<ul id="nav">
				<c:forEach items="${yjzyList }" var="yjzy" varStatus="i">
					<li class="none-right" id="li-${i.index+1 }"><a href="javascript:void(0)" class="icon icon-nav1-${yjzy.zyid }" data-url="${yjzy.zylj }" zyid="${yjzy.zyid }">${yjzy.zymc }</a>
					<c:if test="${yjzy.ejzySize>0 }">
						<ul>
						<c:forEach items="${yjzy.ejzyList }" var="ejzy" varStatus="j">
								<li id="li-${i.index+1 }-${j.index+1 }"><a href="javascript:void(0)" data-url="${ejzy.zylj }" zyid=${ejzy.zyid }>${ejzy.zymc }</a>
								</li>
						</c:forEach>
						</ul>
					</c:if>
					</li>
				</c:forEach>
			</ul>
		</div>
		<!-- 主题内容 -->
		<div id="content">
			<div id="tab-header">
				<div class="active" id="workTable">工作台</div>
			</div>
			<div id="tab-content">
				<div class="active">
					<iframe id='frame_0' zyid="0" src='<%=ctx%>/common/main' frameborder=no></iframe>
				</div>
			</div>
		</div>
	</div>
	<div id="fwd-footer">
		
	</div>                                                      
	<div class="contextMenu" id="myMenu1">
		<ul>
			<li id="closeCurrent">&nbsp;&nbsp;&nbsp;关闭当前页</li>
		  	<li id="closeOther">&nbsp;&nbsp;&nbsp;关闭其他页</li>
		  	<li id="closeAll">&nbsp;&nbsp;&nbsp;关闭所有页</li>
		  	<li id="refreshCurrent">&nbsp;&nbsp;&nbsp;刷新</li>
		</ul>
	</div>
	<!-- 修改密码信息 -->
<div id="passwordContent" style="display:none;background-color: #F5F6FA;">
	<div class="megbox" style="width:400px">
		<form id="passwordForm" name="passwordForm" class="megbox_form">
			<dl class="megbox_dl">
				<dd><label>旧密码：</label><span class="megbox_span"><input id="oldpassword" name="oldpassword" class="{validate:{required:true,messages:{required:'旧密码为必填项！'}}} megbox_input "  type="password"></span></dd>
			</dl>
			<dl class="megbox_dl">
				<dd><label>新密码：</label><span class="megbox_span"><input id="newpassword" name="newpassword" class="{validate:{required:true,messages:{required:'新密码为必填项！'}}} megbox_input"  type="password"></span></dd>
			</dl>
			<dl class="megbox_dl">
				<dd><label>确认密码：</label><span class="megbox_span"><input id="renewpassword" name="renewpassword" class="{validate:{required:true,messages:{required:'确认密码为必填项！'}}} megbox_input"  type="password"></span></dd>
			</dl>
			<dl class="megbox_dl">
				<dd style="width:189px;">
					<p class="fl_r">
					<button type="button" class="_masterbtn" onclick="updatePwd();">保存</button>
					</p>
				</dd>
			</dl>
		</form>
	</div>
</div>
</body>
<%=RenderHelper.includedJavascript(request, "/static/plugin/jquery.js") %>
<%=RenderHelper.includedJavascript(request, "/static/plugin/jquery.form.js") %>  
<%=RenderHelper.includedJavascript(request, "/static/plugin/jquery.contextmenu.r2.js") %> 
<%=RenderHelper.includedJavascript(request, "/static/js/indexIE.js") %> 
<%=RenderHelper.includedJavascript(request, "/static/plugin/layer/layer.js") %> 
<%=RenderHelper.includedJavascript(request, "/static/plugin/validate/jquery.validate.min.js") %> 
<%=RenderHelper.includedJavascript(request, "/static/plugin/validate/jquery.metadata.js") %> 
<%=RenderHelper.includedJavascript(request, "/static/plugin/validate/messages_cn.js") %> 
<%=RenderHelper.includedJavascript(request, "/static/js/common.js") %>
<%=RenderHelper.includedJavascript(request, "/static/js/theme/defult.js") %>
</html>
